<%-- Error Messages --%>
<logic:messagesPresent>
    <div>
    	<table>
    		<tr>
    			<td valign="middle">
					<div class="error">
						<label for="horafinal">
								<html:messages id="error">
									=>${error}<br>
								</html:messages>
						</label>
					</div>
			    </td>
			</tr>
	    </table>
    </div>
</logic:messagesPresent>

<%-- Success Messages --%>
<logic:messagesPresent message="true">
    <div>
    	<table>
    		<tr>
    			<td valign="middle">
					<div class="success">
						<label for="horafinal">
								<html:messages id="message" message="true">
									=>${message}<br>
								</html:messages>
						</label>
					</div>
			    </td>
			</tr>
	    </table>
    </div>
</logic:messagesPresent>